<?php
/**
 * MobileModelFixture
 *
 */
class MobileModelFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'mobile_model_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
		'model_code' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 45, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'image_url' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 500, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'is_active' => array('type' => 'text', 'null' => true, 'default' => null, 'length' => 1),
		'price' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'discount' => array('type' => 'decimal', 'null' => true, 'default' => null, 'length' => 10, 'unsigned' => false),
		'retail_price' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'warranty_month' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'mobile_base_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'mobile_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 30, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'mobile_dimension' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 15, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'mobile_weight' => array('type' => 'decimal', 'null' => true, 'default' => null, 'length' => '4,2', 'unsigned' => false),
		'screen_type_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'screen_color_count' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'screen_standard_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'screen_resolution_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'screen_size_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'touch_description' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'camera_feature' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'cpu_speed' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'chipset_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'gpus_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'ram' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'internal_storage' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'storage_up_to' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'card_slot_type_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'battery_type_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'battery_capacity' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'battery_removable' => array('type' => 'text', 'null' => true, 'default' => null, 'length' => 1),
		'sim_count' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'three_description' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'four_description' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'gps_description' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'bluetooth_description' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'indexes' => array(
			'PRIMARY' => array('column' => 'mobile_model_id', 'unique' => 1),
			'screen_resolution_id_idx' => array('column' => 'screen_resolution_id', 'unique' => 0),
			'screen_size_id_idx' => array('column' => 'screen_size_id', 'unique' => 0),
			'chipset_id_idx' => array('column' => 'chipset_id', 'unique' => 0),
			'card_slot_type_id_idx' => array('column' => 'card_slot_type_id', 'unique' => 0),
			'screen_standard_id_idx' => array('column' => 'screen_standard_id', 'unique' => 0),
			'screen_type_id_idx' => array('column' => 'screen_type_id', 'unique' => 0),
			'gpu_id_idx' => array('column' => 'gpus_id', 'unique' => 0),
			'battery_type_id_idx' => array('column' => 'battery_type_id', 'unique' => 0),
			'model_id_idx' => array('column' => 'mobile_model_id', 'unique' => 0),
			'mobile_base_id_idx' => array('column' => 'mobile_base_id', 'unique' => 0)
		),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'mobile_model_id' => 1,
			'model_code' => 'Lorem ipsum dolor sit amet',
			'image_url' => 'Lorem ipsum dolor sit amet',
			'is_active' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'price' => 1,
			'discount' => '',
			'retail_price' => 1,
			'warranty_month' => 1,
			'mobile_base_id' => 1,
			'mobile_name' => 'Lorem ipsum dolor sit amet',
			'mobile_dimension' => 'Lorem ipsum d',
			'mobile_weight' => '',
			'screen_type_id' => 1,
			'screen_color_count' => 1,
			'screen_standard_id' => 1,
			'screen_resolution_id' => 1,
			'screen_size_id' => 1,
			'touch_description' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'camera_feature' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'cpu_speed' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'chipset_id' => 1,
			'gpus_id' => 1,
			'ram' => 1,
			'internal_storage' => 1,
			'storage_up_to' => 1,
			'card_slot_type_id' => 1,
			'battery_type_id' => 1,
			'battery_capacity' => 1,
			'battery_removable' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'sim_count' => 1,
			'three_description' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'four_description' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'gps_description' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'bluetooth_description' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.'
		),
	);

}
